package com.my_musc_service.controller;

import com.my_musc_service.common.R;

/**
 * @author Zhu Dunfeng
 * @date 2021/8/17 14:55
 */
public class BaseController {

    public R isOk(boolean flag) {
        if (flag) {
            return R.ok();
        }else {
            return R.error();
        }
    }

}
